package com.joysuch.wwyt.workflow.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class WorkFlowProcessBean {

    @ApiModelProperty("序号ID")
    private Long id;

    @ApiModelProperty("业务名称")
    @NotEmpty(message = "业务名称不能为空")
    private String bizName;

    @ApiModelProperty("业务类型名称")
    @NotEmpty(message = "业务类型名称不能为空")
    private String bizTypeName;

    @ApiModelProperty("表单json")
    private String formJson;

    //是否有类型
    @ApiModelProperty("是否有所属类型： 0=否， 1=是")
    private Integer type;

    @ApiModelProperty("权限配置")
    private String authConfig;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private java.time.LocalDateTime createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private java.time.LocalDateTime updateTime;

    @ApiModelProperty("启用位置服务")
    private Boolean locationServiceOpen;
    @ApiModelProperty("启用打印")
    private Boolean printOpen;

    @ApiModelProperty("业务编号前缀 eg:动火:DH")
    private String codePrefix;

    @ApiModelProperty("编码策略id")
    private Long codeStrategyId;

    @ApiModelProperty("编码策略名称")
    private String codeStrategyName;

    @ApiModelProperty("流程类型")
    private Integer processType;

    @ApiModelProperty("统计同步开关")
    private Integer syncStatusOnOff;

}
